<?php return array (
  'package' => 
  array (
    'type' => 'module',
    'name' => 'exam',
    'version' => '4.2.0',
    'path' => 'application/modules/Exam',
    'title' => 'Exam',
    'description' => 'Exam',
    'author' => 'iDragonSolution Co., Ltd',
  	'dependencies' => array(
      array(
        'type' => 'module',
        'name' => 'core',
        'minVersion' => '4.2.0',
      ),
    ),
    'callback' => array(
      'path' => 'application/modules/Exam/settings/install.php',
      'class' => 'Exam_Installer',
    ),
    'actions' => 
    array (
      0 => 'install',
      1 => 'upgrade',
      2 => 'refresh',
      3 => 'enable',
      4 => 'disable',
    ),
    'directories' => 
    array (
      0 => 'application/modules/Exam',
    ),
    'files' => 
    array (
      0 => 'application/languages/en/exam.csv',
    ),
  ),
  // Items ---------------------------------------------------------------------
  'items' => array(
    'exam',
    'exam_category',
    'exam_question',
    'exam_answer',
  	'exam_test',
  	'examdetail'
  ),
  // Routes --------------------------------------------------------------------
  'routes' => array(
     'exam_extended' => array(
      'route' => 'exams/:controller/:action/*',
      'defaults' => array(
        'module' => 'exam',
        'controller' => 'index',
        'action' => 'index'
      ),
    ),
    'exam_specific' => array(
      'route' => 'exams/:action/:exam_id/*',
      'defaults' => array(
        'module' => 'exam',
        'controller' => 'exam',
        'action' => 'view'	
      ),
      'reqs' => array(
        'action' => '(delete|edit|view|order|qtmanage|add-new-question|add-exist-question|load-questions)',
      ),
    ),
    'exam_general' => array(
      'route' => 'exams/:action/*',
      'defaults' => array(
        'module' => 'exam',
        'controller' => 'index',
        'action' => 'index'
      ),
      'reqs' => array(
        'action' => '(browse|create|list|manage|xmlcategories|upload-photo)',
      ),
    ),
    'exam_test'  => array(
        'route'    =>  'exam/:action/*',
        'defaults' => array(
            'module' => 'exam',
            'controller' => 'test',
            'action' => 'test'
          ),
         'reqs' => array(
             'action' => '(test|history|preview|review|all|correct|incorrect)',
         ),
    )
   ),
); ?>